projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b21b4
)
StyleContext: Add CSS snippet language comments
author
Daniel Boles
<dboles.src@gmail.com>
Thu, 12 Oct 2017 18:40:45 +0000
(19:40 +0100)
committer
Daniel Boles
<dboles.src@gmail.com>
Thu, 12 Oct 2017 18:40:45 +0000
(19:40 +0100)
The language is useful for parsing tools, such as that of gtkmm, which
otherwise assumes these are C snippets and elides them from its
generated documentation.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 12148cf1699b1abd3ad6c31cb547e1b48baf6a63..5f5637d8f408f172b004c4c22dddb291fe2f0301 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-1202,13
+1202,13
@@
gtk_style_context_restore (GtkStyleContext *context)
* In the CSS file format, a #GtkEntry defining a “search”
* class, would be matched by:
*
- * |[
+ * |[
<!-- language="CSS" -->
* entry.search { ... }
* ]|
*
* While any widget defining a “search” class would be
* matched by:
- * |[
+ * |[
<!-- language="CSS" -->
* .search { ... }
* ]|
*